{%extends 'polls/base.html'%}
{% block content%}
    {%if q%}
        <h1>{{q.question_text}}</h1>
        <p> Kết quả bình chọn</p>
        {%for item in q.choice_set.all%}
            <p>{{item.choice_text}}:<span style="color:red;">{{item.vote}}</span></p>
        {%endfor%}
    <a href="{%url 'view_list'%}">Quay về</a>
    {%endif%}
{%endblock%}